/*******************************************************************************
 * Copyright (c) 2010, 2015 EclipseSource and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    EclipseSource - initial API and implementation
 ******************************************************************************/

Slider {
  border: none;
  background-color: #f0f0f0;
  border-radius: 2px;
}

Slider-Thumb[HORIZONTAL],
Slider-Thumb[HORIZONTAL]:pressed,
Slider-Thumb[VERTICAL],
Slider-Thumb[VERTICAL]:pressed {
  background-color: #e4e4e4;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
}

/* Buttons */

Slider-UpButton[HORIZONTAL],
Slider-UpButton[HORIZONTAL]:pressed,
Slider-UpButton[VERTICAL],
Slider-UpButton[VERTICAL]:pressed,
Slider-DownButton[HORIZONTAL],
Slider-DownButton[HORIZONTAL]:pressed,
Slider-DownButton[VERTICAL],
Slider-DownButton[VERTICAL]:pressed {
  background-color: #e4e4e4;
  background-image: none;
  border: 1px solid #bdbdbd;
  cursor: default;
  padding: 0;
}

/* Rounded Borders */

Slider-UpButton[HORIZONTAL] {
  border-radius: 0px 2px 2px 0px;
}

Slider-UpButton[VERTICAL] {
  border-radius: 0px 0px 2px 2px;
}

Slider-DownButton[HORIZONTAL] {
  border-radius: 2px 0px 0px 2px;
}

Slider-DownButton[VERTICAL] {
  border-radius: 2px 2px 0px 0px;
}

/* Button Icons */

Slider-UpButton-Icon[HORIZONTAL] {
  background-image: url( resource/widget/rap/slider/right.png );
}

Slider-UpButton-Icon[HORIZONTAL][RIGHT_TO_LEFT] {
  background-image: url( resource/widget/rap/slider/left.png );
}

Slider-UpButton-Icon[VERTICAL] {
  background-image: url( resource/widget/rap/slider/down.png );
}

Slider-DownButton-Icon[HORIZONTAL] {
  background-image: url( resource/widget/rap/slider/left.png );
}

Slider-DownButton-Icon[HORIZONTAL][RIGHT_TO_LEFT] {
  background-image: url( resource/widget/rap/slider/right.png );
}

Slider-DownButton-Icon[VERTICAL] {
  background-image: url( resource/widget/rap/slider/up.png );
}
